<h1><?=$this->translate->_('profile_avatar_header')?></h1>

<p><a href="<?=$this->url(array('controller' => 'index'),'index', true)?>">Forum</a><?=$this->getRootline(false, false, $this->auth_uid)?></p>
		
<ul class="profile_tabs">
<li>
	<img style="position:relative; top:1px;" src="<?=$this->baseUrl()?>/static/gfx/icons/magnifier.png" alt="" title="" />
	<a href="<?=$this->url(array('controller' => 'profile', 'action' => 'index', 'uid' => $this->auth_uid), 'profile', true)?>">
		<?=$this->translate->_('profile_details')?>
	</a>
</li>
	
<li>
	<img style="position:relative; top:1px;" src="<?=$this->baseUrl()?>/static/gfx/icons/book.png" alt="" title="" />
	<a href="<?=$this->url(array('controller' => 'profile', 'action' => 'guestbook', 'uid' => $this->auth_uid), 'profile_gb', true)?>">
		<?=$this->translate->_('profile_guestbook')?>
	</a> <span style="color:#666;">(<?=$this->gb_count?>)</span>
</li>

<li>
	<img style="position:relative; top:1px;" src="<?=$this->baseUrl()?>/static/gfx/icons/pencil.png" alt="" title="" />
	<a href="<?=$this->url(array('controller' => 'profile', 'action' => 'edit'), 'profile_edit', true)?>">
		<?=$this->translate->_('profile_edit')?>
	</a>
</li>
<li>
	<img style="position:relative; top:1px;" src="<?=$this->baseUrl()?>/static/gfx/icons/image.png" alt="" title="" />
	<span><?=$this->translate->_('profile_edit_ava')?></span>
</li>
</ul>

<br style="clear:left;" />

<?if($this->allow_upload == 1):?>
	<h2><?=$this->translate->_('profile_avatar_upload')?></h2>
	<p class="notice"><?=$this->notice?></p>
	
	<?if($this->error):?>
		<p class="notice_bad"><?=$this->error?></p>
	<?endif;?>
	
	<?=$this->form?>
<?endif;?>

<h2><?=$this->translate->_('profile_avatar_gravatar')?></h2>

<?=$this->gForm?>